package com.ship.dispatch.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ship.common.core.base.Joinable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 历史船代费表
 */
@Data
@TableName("sp_ship_agency_fee_history")
public class SpShipAgencyFeeHistory extends BaseBean implements Joinable {

    /**
     * 航次号
     */
    @TableField("voyage_no")
    @ApiModelProperty(value = "航次号")
    private String voyageNo;

    /**
     * 接收站名称
     */
    @TableField("name")
    @ApiModelProperty(value = "接收站名称")
    private String name;

    /**
     * 装载时间
     */
    @TableField("expected_loading_date")
    @ApiModelProperty(value = "装载时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date expectedLoadingDate;

    /**
     * 卸载时间
     */
    @TableField("expected_unloading_window")
    @ApiModelProperty(value = "卸载时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date expectedUnloadingWindow;

    /**
     * 装载船代费用金额
     */
    @TableField("expected_loading_fee")
    @ApiModelProperty(value = "装载船代费用金额")
    private BigDecimal expectedLoadingFee;

    /**
     * 卸载船代费用金额
     */
    @TableField("expected_unloading_fee")
    @ApiModelProperty(value = "卸载船代费用金额")
    private BigDecimal expectedUnloadingFee;

    /**
     * 类型（1：装载，2：卸载）
     */
    @TableField("fee_type")
    @ApiModelProperty(value = "类型（1：装载，2：卸载）")
    private Integer feeType;

    @Override
    public String getLabel() {
        return null;
    }

    @Override
    public String getValue() {
        return null;
    }
}
